<template>
    <view class="history">
        <div class="header-search">
            <SearchBar></SearchBar>
            <view class="tabs">
                <view class="tab active">商品</view>
                <view class="tab">文章</view>
            </view>
        </div>
        <view class="list">
            <view class="item-day-ul">
                <view class="day">08月24日</view>
                <view class="item-list">
                    <template v-for="item in [1, 2, 3, 4, 5, 6]">
                        <GoodItem></GoodItem>
                    </template>
                </view>
            </view>

            <view class="item-day-ul">
                <view class="day">08月24日</view>
                <view class="item-list">
                    <template v-for="item in [1, 2, 3, 4, 5, 6]">
                        <Designer></Designer>
                    </template>
                </view>
            </view>
        </view>
    </view>
</template>

<script setup lang="ts">
import SearchBar from '@/components/searchBar/SearchBar.vue';
import GoodItem from '@/components/good/GoodItem.vue';
import Designer from '@/components/designer/Designer.vue';
</script>

<style scoped lang="scss">
.history {
}
.header-search {
    position: sticky;
    top: 0;
    background: #fff;
}
.tabs {
    height: 86rpx;
    background: #ffffff;
    border-radius: 16rpx 16rpx 0rpx 0rpx;
    .tab {
        height: 86rpx;
        font-weight: bold;
        font-size: 28rpx;
        color: #222222;
        line-height: 86rpx;
        text-align: center;
        &.active {
            color: #222222;
            font-weight: bold;
        }
    }
}
</style>
